<!DOCTYPE html>
<html>
  <head>
    <title>index.htm</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="/static/client/js/jquery.js"></script>
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

	<script type="text/javascript">
	function sub(){
		$.ajax({
			type: "GET",
            //url: "/static/client/js/valid.json",
            url: "/user/register.htm",
            data: "userName=sg123&userPass=123456&rePass=123456",
            dataType: "json",
            success: function (data) {
                alert(data.status);
            },
            error: function (msg) {
                alert(msg);
            }
		});
	}
	</script>

  </head>
  
  <body>
  <form action="/user/register.htm" method="get">
    <input type="text" name="userName"><br/>
    <input type="text" name="userPass"><br/>
    <input type="text" name="rePass"><br/>
	<input type="button" value="提交" onclick="sub();"/>
  </form>
  </body>
</html>
